package chongxin;
//继承
public class Cat extends Pet  {
    public Cat(){
        super("dsiufhdsfud");

    }
    @Override
    public void print() {


    }
   }
    /*private String name;
     @Override
    public String getName() {
    return name;
    }
@Override
    public void setName(String name) {
    this.name = name;}

    public static void main(String[] args) {
        Cat cat=new Cat();
    }
        cat.setName("ffff");
        System.out.println(cat.getName());
    }*/

